<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
	<Source>
		<Name>toxcore-c</Name>
		<Homepage>https://tox.chat/</Homepage>
		<Packager>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Packager>
		<License>GPL-3</License>
		<IsA>app</IsA>
		<PartOf>network.chat</PartOf>
		<Summary>This is an experimental cryptographic network library.</Summary>
		<Description>Tox is a peer to peer (serverless) instant messenger aimed at making security and privacy easy to obtain for regular users. It uses NaCl for its encryption and authentication.</Description>
		<Archive sha1sum="f8b156f34bcc0cf3367c4db8b40fbde6483dfd57" type="zip">
			https://github.com/TokTok/c-toxcore/archive/172f279dc0647a538b30e62c96bab8bb1b0c8960.zip
		</Archive>
		<Archive sha1sum="3a59ff65bbbb624248a3f273eef23f4f68167481" target="c-toxcore-172f279dc0647a538b30e62c96bab8bb1b0c8960/third_party" type="zip">
			https://github.com/camgunz/cmp/archive/e836703291392aba9db92b46fb47929521fac71f.zip
		</Archive>
		<BuildDependencies>
			<Dependency>cmake</Dependency>
			<Dependency>libvpx-devel</Dependency>
			<Dependency>libopus-devel</Dependency>
			<Dependency>libsocket-devel</Dependency>
			<Dependency>libconfig-devel</Dependency>
			<Dependency>libsodium-devel</Dependency>
			<!-- <Dependency>msgpack-c-devel</Dependency> -->
		</BuildDependencies>
	</Source>

	<Package>
		<Name>toxcore-c</Name>
		<RuntimeDependencies>
			<Dependency>libvpx</Dependency>
			<Dependency>libopus</Dependency>
			<Dependency>libconfig</Dependency>
			<Dependency>libsodium</Dependency>
			<!-- <Dependency>msgpack-c</Dependency> -->
		</RuntimeDependencies>
		<Files>
			<Path fileType="cfgfile">/etc/tox-bootstrapd.conf</Path>
			<Path fileType="executable">/usr/bin</Path>
			<Path fileType="library">/usr/lib</Path>
			<Path fileType="data">/usr/share/bash-completion/completions</Path>
		</Files>
		<Provides>
			<COMAR script="package.py">System.Package</COMAR>
			<COMAR script="service.py">System.Service</COMAR>
		</Provides>
	</Package>

	<Package>
		<Name>toxcore-c-devel</Name>
		<RuntimeDependencies>
			<Dependency release="current">toxcore-c</Dependency>
			<Dependency>libvpx-devel</Dependency>
			<Dependency>libopus-devel</Dependency>
			<Dependency>libsocket-devel</Dependency>
			<Dependency>libsodium-devel</Dependency>
			<!-- <Dependency>msgpack-c-devel</Dependency> -->
		</RuntimeDependencies>
		<Files>
			<Path fileType="data">/usr/lib/pkgconfig</Path>
			<Path fileType="header">/usr/include/tox</Path>
		</Files>
	</Package>

	<History>
		<Update release="3">
			<Date>2023-03-06</Date>
			<Version>0.2.18</Version>
			<Comment>Rebuild from git for newest toxic.</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="2">
			<Date>2022-11-10</Date>
			<Version>0.2.18</Version>
			<Comment>Version bump.</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
		<Update release="1">
			<Date>2022-04-25</Date>
			<Version>0.2.17</Version>
			<Comment>First build.</Comment>
			<Name>fury</Name>
			<Email>uglyside@yandex.ru</Email>
		</Update>
	</History>
</PISI>
